home *** CD-ROM | disk | FTP | other *** search
/ Asobe! Fotoshock 5.0 ERO / Asobe! Fotoshock 5.0 ERO.iso / pc / main.dxr / ì‡ë†_12_toIndex.ls < prev    next >
Encoding:
Text File  |  1999-03-23  |  809 b   |  37 lines

  1. global gmyphotonum, gphotoloclist, gpage, gpartslist, pussylist, gsaveddata
  2.  
  3. on toindex
  4.   set pnum to value(gmyphotonum)
  5.   case 1 of
  6.     (pnum < 21):
  7.       go("index1")
  8.     (pnum < 41):
  9.       go("index2")
  10.     (pnum < 61):
  11.       go("index3")
  12.     otherwise:
  13.       go("index4")
  14.   end case
  15.   deleteAll(the windowList)
  16. end
  17.  
  18. on uraura
  19.   cursor(4)
  20.   set gpage to 1
  21.   set gphotoloclist to value(line gpage of gsaveddata)
  22.   sort(gphotoloclist)
  23.   set gpartslist to [:]
  24.   set pussylist to []
  25.   go("ura-bon")
  26.   updateStage()
  27.   set stagerect to the rect of the stage
  28.   set the rect of window "0001" to inflate(stagerect, -48, -70)
  29.   set the windowType of window "0001" to 2
  30.   set the fileName of window "0001" to "@/dir/0001"
  31.   open(window "0001")
  32.   tell getAt(the windowList, 1)
  33.     go("ura")
  34.   end tell
  35.   cursor(-1)
  36. end
  37.